﻿namespace VisionCloud.Domain.File.Model
{
    public class OperationToken
    {
        /// <summary>
        /// 身份ID
        /// </summary>
        public string IdentityId { get; set; }

        /// <summary>
        /// 令牌
        /// </summary>
        public string Token { get; set; }
    }

    ///// <summary>
    ///// 下载队列
    ///// </summary>
    //public class DownloadQueue
    //{
    //    //BoundedCapacity 下载队列的令牌数量
    //    private static BlockingCollection<string> queue = new BlockingCollection<string>(3);

    //    public static CheckToken(string token)
    //    {
    //        queue.GetConsumingEnumerable()
    //    }
    //}
}